import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/view/index'
import OverView from '@/view/overview/OverView'
import daqibodao from '@/view/expands/daqibodao/daqibodao'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'daqibodao',
      component: daqibodao,
      meta: {
        title: '大气波导整治'
      }
    },
    {
      path: '/view/index',
      name: 'Index',
      component: Index
    },
    {
      path: '/view/networkoverview',
      name: 'OverView',
      component: OverView
    },
    // {
    //   path: '/view',
    //   component: viewHeader,
    //   children: [
    //     {
    //       path: '/networkoverview',
    //       name: 'OverView',
    //       component: OverView
    //     }
    //   ]
    // }

    {
      path: '/manager/view/expands/daqibodao',
      name: 'daqibodao',
      component: daqibodao
    }
  ]
})
